<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no"/>

	
<title>XXX平台商家端</title>	

	
<!--内容样式-->
<link rel="stylesheet" href="__PUBLIC__/Home/supplier/css/style.css" />
<link rel="stylesheet" href="__PUBLIC__/Home/css/page.css" />
<style type="text/css">
	.cttp-wz{
		position: relative;
	}
	.cttp-wz .cttpw-sl{
		position: absolute;
		left: 0;
		bottom: 0;
	}
</style>
	
	
</head>

<body>

	
	<div class="main">
	
	
		<!--  头部  -->
		<include file="head" />
		
		
		<!--  左侧导航  -->
		<div class="nav">
			<div class="na-title">
				<img src="__PUBLIC__/Home/supplier/images/icon_ml.png" />
				<div class="nat-mc">目录</div>
				<div class="divclear"></div>
			</div>
			<div class="na-box">
				<a href="{:U('order_index')}" <if condition="$cur eq '交易管理'">class="nab-btn cur"<else/>class="nab-btn"</if>>全部订单</a>
				<a href="{:U('order_delivery')}"  <if condition="$cur eq '发货订单'">class="nab-btn cur"<else/>class="nab-btn"</if>>发货订单</a>
				<a href="{:U('order_sale')}"  <if condition="$cur eq '售后订单'">class="nab-btn cur"<else/>class="nab-btn"</if>>售后订单</a>
			</div>
		</div>
		
		
		<!--  右侧内容  -->
		<div class="content">
			
			<div class="ct-title">
				<div class="ctt-bt">发货订单</div>
			</div>
			<form action="" method="POST">
				<div class="ct-cx">
					<input type="date" name="start_time" value="" class="ctc-sj" placeholder="asd" value="{$msg['start_time']}">
					<div class="ctc-z">至</div>
					<input type="date" name="end_time" value="" class="ctc-sj" value="{$msg['end_time']}">
					<select name="status">
						<option value="">全部</option>
						<option <if condition="$msg['status'] eq 1">selected</if> value="1">待发货</option>
						<option <if condition="$msg['status'] eq 2">selected</if> value="2">已发货</option>
					</select>
					<input type="text" placeholder="输入订单号查询" class="ctc-wb" name="name" value="{$msg['name']}">
					<button class="ctc-btn1">查询</button>
					<button class="ctc-btn3" style="display: none"><a href="{:U('dc?name='.$msg['name'].'&start_time='.$msg['start_time'].'&end_time='.$msg['end_time'].'&status='.$msg['status'])}">导出</a></button>
					<div class="divclear"></div>
				</div>
			</form>
			
			<div  class="ct-table">
				<table border="0" width="100%">
					<tbody>
						<tr>
						  <th scope="col" width="24%" style="border-top-left-radius: 6px;">书籍信息</th>
						  <th scope="col" width="12%">实收款</th>
						  <th scope="col" width="19%">客户信息</th>
						  <th scope="col" width="12%">支付方式</th>
						  <th scope="col" width="12%">订单状态</th>
						  <th scope="col" width="9%" style="border-top-right-radius: 6px;">操作</th>
						</tr>
						<volist name="list" id="item">
						<tr>
						  <td>
						  	<volist name="item.good_list" id="itemm">
								<div class="ctt-pro">
									<div class="cttp-img">
										<img src="{$itemm.img}" />
									</div>
									<div class="cttp-wz">
										<div class="cttpw-bt">{$itemm.name}</div>
										<div class="cttpw-sl">x{$itemm.count}</div>
									</div>
									<div class="divclear"></div>
								</div>
							</volist>
						  </td>
						  <td>{$item['pay_price']}元</td>
						  <td>{$item['username']}<br>{$item['mobile']}</td>
						  <td>{$item['pay_type']}</td>
						  <td><if condition="$item['status'] eq 1">待发货<else />已发货</if></td>
						  <td><a href="{:U('Supplier/manage_deliver',array('id'=>$item['id']))}"><if condition="$item['status'] eq 1">设置发货<else />配送信息</if></a></td>
						</tr>
						</volist>
				 	</tbody>
				</table>
			</div>
			
			
			<div class="page">
	            {$_page}
	        </div>
			
			
		</div>
		
		
	</div>
	
	
</body>
</html>
